package com.fengmi.service;

import com.fengmi.entity.MallGoodsBrand;
import com.fengmi.vo.InfoResult;
import com.fengmi.vo.PageResult;

import java.util.List;

/**
 * Author: 施俊豪
 * Date: 2022/1/17 17:47
 * Note: service
 */
public interface MallGoodsBrandService {

    //条件搜索+分页查询
    public PageResult<MallGoodsBrand> findGoodsBrand(String pageNum,String pageSize,MallGoodsBrand mallGoodsBrand);

    // 添加
    public InfoResult addGoodsBrand(MallGoodsBrand mallGoodsBrand);

    // 动态修改
    public InfoResult updateGoodsBrand(MallGoodsBrand mallGoodsBrand);
     // 动态删除(删除+批量删除)
    public InfoResult deleteGoodsBrand(Integer[] ids);

    //查询所有的商品品牌
    public InfoResult<List<MallGoodsBrand>> findBrandAll();
}
